<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>变量</title>
</head>
<body>
<script>
    /**
     * const：
     *
     */

    const a = 10;
    // a = 20;  //报错，因为const声明的变量不能被重新赋值

    const arr = [1,2,3,4];
    arr.push(5);
    console.log( arr)

</script>
</body>
</html>
